var popupConn = chrome.extension.connect({name:'popupConn'});
popupConn.postMessage({action:'getUpdateContent'});
popupConn.onMessage.addListener(function(msg){
    switch(msg.action){
		case 'getUpdateContentResponse':
		document.getElementById('version').innerHTML = 'v'+msg.value.ver;
		document.getElementById('description').innerHTML = msg.value.desc;
		popupConn.postMessage({action:'resetUpdateStatus'});
            break;
	}
});
